package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class Dondxi {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String username;

    private String objectname;

    private String objectprice;

    private String image;

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getObjectname() {
        return objectname;
    }

    public void setObjectname(String objectname) {
        this.objectname = objectname;
    }

    public String getObjectprice() {
        return objectprice;
    }

    public void setObjectprice(String objectprice) {
        this.objectprice = objectprice;
    }

    @Override
    public String toString() {
        return "Dondxi{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", objectname='" + objectname + '\'' +
                ", objectprice='" + objectprice + '\'' +
                ", image='" + image + '\'' +
                '}';
    }
}
